import request from "../request.js";
import {
	BASE_URL
} from '../const.js'

const movies = {
	getMovies(data){
		return request({
			url: BASE_URL + '/movies/getMovies',
			data
		})
	},
	getDetailsByMovieId(_id){
		return request({
			url: BASE_URL + '/movies/getDetailsByMovieId',
			data:{
				_id
			}
		})
	}
}

export default movies;
